//===================================
//File: SpecImage.h
//Description SpecImage
//Name: Smirnova O.P.
//Date: 28.06.12, v.1.0
//===================================
#ifndef SPECIMAGE_H
#define SPECIMAGE_H
#include <iostream>
#include "Image.h"
#include "Throat.h"
#include "Body.h"
#include "Tube.h"


class SpecImage : public Image{
	
	Tube tube; // вертикальная трубочка
	unsigned int id;
    static unsigned int count;
    static unsigned int count_all;
	

public:
	SpecImage(){};
	SpecImage(Tube tube, Body body, Throat throat);
	virtual ~SpecImage();
	virtual void moveTo(const Point p);
	virtual void moveTodXdY(const double x, const double y);
	virtual void consSF (const Point p);
	List<Point> * getPoints() const;
	Tube getTube();
	void writeImage();
	int operator >(int);
	const unsigned int getID();
    static unsigned int countObject();
};

#endif
